package com.yanqu.road.server.cmd.activity.unionwar;

import com.yanqu.road.server.cmd.base.AbstractCommand;
import com.yanqu.road.server.command.Cmd;
import com.yanqu.road.server.gameplayer.GamePlayer;
import com.yanqu.road.server.manger.activity.unionwar.UnionWarActivityMgr;
import com.yanqu.road.message.YanQuMessage;
import com.yanqu.road.server.protocol.ClientProtocol;
import com.yanqu.road.server.protocol.GameProtocol;

@Cmd(code = GameProtocol.S_UNION_WAR_ACTIVITY_GET_CHAMPION_LIST, desc = "获取历届冠军列表")
public class UnionWarActivityGetChampionListCmd extends AbstractCommand {
    @Override
    public boolean parseData(YanQuMessage packet) throws Exception {
        return true;
    }

    @Override
    public void execute(GamePlayer player, YanQuMessage packet) throws Exception {

    }

    @Override
    public void sendData(GamePlayer player) {
        player.sendPacket(ClientProtocol.U_UNION_WAR_ACTIVITY_GET_CHAMPION_LIST, UnionWarActivityMgr.getChampionMsgBuilder());
    }
}
